package comm

import (
	"gitee.com/gitee-go/core/bean/hbtpBean"
	"gitee.com/gitee-go/core/runtime"
)

type RunJob struct {
	Id              string                    `json:"id"`
	StageId         string                    `json:"stageId"`
	BuildId         string                    `json:"buildId"`
	Job             string                    `json:"job"`
	Image           string                    `json:"image"`
	Name            string                    `json:"name"`
	Env             map[string]string         `json:"env"`
	Commands        []*hbtpBean.CmdContent    `json:"commands"`
	Artifacts       []*runtime.Artifact       `json:"artifacts"`
	DependArtifacts []*runtime.DependArtifact `json:"dependArtifacts"`
	DependsOn       []string                  `yaml:"dependsOn" json:"dependsOn"`
}
